using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.SharePoint;
using Microsoft.SharePoint.Administration;
using System.Collections;

namespace FeatureWally.Client {
    public class FWFeatureDefinition {
        private SPFeatureDefinition _definition;
        private ArrayList _activatedAt;

        public FWFeatureDefinition(SPFeatureDefinition definition) {
            _definition = definition;
            _activatedAt = new ArrayList();
        }
        public string DisplayName {
            get {
                if (_definition == null)
                    return "[NO NAME]";
                return _definition.DisplayName;
            }
        }
        public SPFeatureDefinition Definition {
            get { return _definition; }
        }
        public ArrayList ActivatedAt {
            get { return _activatedAt; }
        }
    }
}
